export const chous = {
	props: {
		fromData: {
			type: Object,
			default: () => {}
		}
	},
	
	methods: {
		chooseImage() {
			uni.chooseImage({
				count: 1,
				sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图，默认二者都有
				sourceType: ['album'], //从相册选择
				success: (res) => {
					this.$refs.cut.show({
						originSrc: res.tempFilePaths[0],
					});
				}
			});
		},
		
	}
}